get category post in wordpress

141

get category post in wordpress -

echo '<p>'. get_the_category( $id )[0]->name .'</p>';

Comments

Submit
0 Comments